package com.glela.api.upload.qiniu;

import java.util.Map;

import org.apache.commons.httpclient.HttpException;

public interface IQiniuService
{

	public Map<String, Object> getVideoImgByQnId(String qnId) throws HttpException, Exception;

	public Map<String, Object> uploadVideo(byte[] mediaContent);

	public Map<String, Object> uploadVideo(byte[] mediaContent, String bitRate, String width, String height, String videoType);

	/**
	 * @param mediaContent
	 * @param width
	 * @param height
	 * @return
	 */
	Map<String, Object> uploadImage(byte[] mediaContent, String width, String height);
}
